package com.zyg.pojo;

import lombok.Data;

import java.util.Date;
@Data
public class User {
    private int id;
    private String name;
    private String pass;

    private Date birthday;

    private Dept dept;
    // alt + insert
    public User() {
    }

    public User(String name, String pass) {
        this.name = name;
        this.pass = pass;
    }

    public User(int id, String name, String pass) {
        this.id = id;
        this.name = name;
        this.pass = pass;
    }
}
